

# 写一个程序，计算
# 1 + 2 + 3 + 4 + 5 + ...... + 99 + 100
# 的和

he = 0  # 用来记录结果的变量
i = 1
while i <= 100:
    # print(i)
    he = he + i
    i = i + 1
print('结果:%d' % he)


